package com.mg.yygh.hosp.service;

import com.mg.yygh.model.hosp.Hospital;
import com.mg.yygh.vo.hosp.HospitalQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @author M_Dragon
 * @date 2022/8/30/030 10:24
 */
public interface HospitalService {
    void save(Map<String, Object> map);


    Hospital getHospitalByCode(String hoscode);

    Page<Hospital> getPage(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo);

    void updateStatus(String id, Integer status);

    Map<String, Object> getHospByid(String id);

    String getHosnameByhoscode(String hoscode);

    List<Hospital> findByHosname(String hosname);

    Map<String, Object> item(String hoscode);
}
